package com.xiaow.springsecuriydemo.service.impl;

import com.xiaow.springsecuriydemo.entity.Userandrole;
import com.xiaow.springsecuriydemo.mapper.UserandroleMapper;
import com.xiaow.springsecuriydemo.service.UserandroleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author xiaow
 * @since 2022-09-16
 */
@Service
public class UserandroleServiceImpl extends ServiceImpl<UserandroleMapper, Userandrole> implements UserandroleService {

    @Override
    public Userandrole getByUserName(String userName) {
        return baseMapper.getByUserName(userName);
    }
}
